<script setup>
import zhCN from 'ant-design-vue/es/locale/zh_CN';
</script>

<template>

	<a-config-provider :locale="zhCN">
		<router-view v-slot="{Component}">
			<transition>
				<keep-alive>
					<div class="app_crot">
						<component :is="Component" />
					</div>
				</keep-alive>
			</transition>
		</router-view>
	</a-config-provider>

</template>

<style lang="less">
#app {
	font-family: Avenir, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: #2c3e50;
	height: 100%;
	width: 100%;
	.app_crot{
		height: 100%;
		width: 100%;
	}
}
</style>
